package com.cema.manage.common

interface ShiroConstants {
    companion object {
        /**
         * 当前登录的用户
         */
        val CURRENT_USER = "currentUser"

        /**
         * 用户名
         */
        val CURRENT_USERNAME = "username"

        /**
         * 消息key
         */
        val MESSAGE = "message"

        /**
         * 错误key
         */
        val ERROR = "errorMsg"

        /**
         * 编码格式
         */
        val ENCODING = "UTF-8"

        /**
         * 当前在线会话
         */
        val ONLINE_SESSION = "online_session"

        /**
         * 验证码key
         */
        val CURRENT_CAPTCHA = "captcha"

        /**
         * 验证码开关
         */
        val CURRENT_EBABLED = "captchaEbabled"

        /**
         * 验证码开关
         */
        val CURRENT_TYPE = "captchaType"

        /**
         * 验证码
         */
        val CURRENT_VALIDATECODE = "validateCode"

        /**
         * 验证码错误
         */
        val CAPTCHA_ERROR = "captchaError"
    }

}
